package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.framework.util.date.DateUtil;
import com.frogs.system.util.InsuranceCodeStatusEnum;

public class InsuranceCode implements Serializable {
    private static final long serialVersionUID = -2027562800139998119L;

    /**
     * This field corresponds to the database column insurance_code.id
     */
    private Integer id = 0;

    /**
     * This field corresponds to the database column insurance_code.code
     */
    private String code;

    /**
     * This field corresponds to the database column insurance_code.remark
     */
    private String remark;

    /**
     * This field corresponds to the database column insurance_code.create_time
     */
    private Date createTime = new Date();

    /**
     * This field corresponds to the database column insurance_code.overtime
     */
    private Date overtime = DateUtil.getDateAfterMonths(new Date(), 6);

    /**
     * This field corresponds to the database column insurance_code.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column insurance_code.order_sn
     */
    private String orderSn;

    /**
     * This field corresponds to the database column insurance_code.status
     */
    private Integer status = InsuranceCodeStatusEnum.NORMAL.getId();

    private Integer insuranceId;
    
    /**
     * This method returns the value of the database column insurance_code.id
     *
     * @return the value of insurance_code.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column insurance_code.id
     *
     * @param id the value for insurance_code.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column insurance_code.code
     *
     * @return the value of insurance_code.code
     */
    public String getCode() {
        return code;
    }

    /**
     * This method sets the value of the database column insurance_code.code
     *
     * @param code the value for insurance_code.code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * This method returns the value of the database column insurance_code.remark
     *
     * @return the value of insurance_code.remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method sets the value of the database column insurance_code.remark
     *
     * @param remark the value for insurance_code.remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * This method returns the value of the database column insurance_code.create_time
     *
     * @return the value of insurance_code.create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method sets the value of the database column insurance_code.create_time
     *
     * @param createTime the value for insurance_code.create_time
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method returns the value of the database column insurance_code.overtime
     *
     * @return the value of insurance_code.overtime
     */
    public Date getOvertime() {
        return overtime;
    }

    /**
     * This method sets the value of the database column insurance_code.overtime
     *
     * @param overtime the value for insurance_code.overtime
     */
    public void setOvertime(Date overtime) {
        this.overtime = overtime;
    }

    /**
     * This method returns the value of the database column insurance_code.user_id
     *
     * @return the value of insurance_code.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column insurance_code.user_id
     *
     * @param userId the value for insurance_code.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column insurance_code.order_sn
     *
     * @return the value of insurance_code.order_sn
     */
    public String getOrderSn() {
        return orderSn;
    }

    /**
     * This method sets the value of the database column insurance_code.order_sn
     *
     * @param orderSn the value for insurance_code.order_sn
     */
    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    /**
     * This method returns the value of the database column insurance_code.status
     *
     * @return the value of insurance_code.status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method sets the value of the database column insurance_code.status
     *
     * @param status the value for insurance_code.status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

	public Integer getInsuranceId() {
		return insuranceId;
	}

	public void setInsuranceId(Integer insuranceId) {
		this.insuranceId = insuranceId;
	}
    
    
}